package com.zide.ams.domain.po;

import io.swagger.v3.oas.annotations.media.Schema;
import com.zide.common.core.domain.BaseEntity;
import lombok.*;

import java.io.Serializable;
import java.util.*;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;


/**
 * 博客文章对象 ams_article
 * 
 * @author zide
 * {@code @date} 2024-04-29
 */
@TableName("ams_article")
@Data
@Schema(name = "博客文章对象 ams_article")
public class AmsArticle implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
     @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "分类id")
    private Long categoryId;

    @Schema(description = "文章标题")
    private String title;

    @Schema(description = "文章封面")
    private String mainImg;

    @Schema(description = "文章简介")
    private String summary;

    @Schema(description = "文章内容")
    private String content;

    @Schema(description = "可见范围")
    private Integer showScope;

    @Schema(description = "是否置顶 0否 1是")
    private Integer topStatus;

    @Schema(description = "是否发布 0：下架 1：发布")
    private Integer pushStatus;

    @Schema(description = "是否原创  0：转载 1:原创")
    private Integer pushType;

    @Schema(description = "转载地址")
    private String originalUrl;

    @Schema(description = "发布地址")
    private String address;

    @Schema(description = "文章阅读量")
    private Long readVolume;

    @Schema(description = "收藏数")
    private Long collectVolume;

    @Schema(description = "点赞数")
    private Long likeVolume;

    @Schema(description = "评论数")
    private Long commentVolume;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;

    @Schema(description = "是否首页轮播")
    private Integer carouselStatus;

    @Schema(description = "是否推荐")
    private Integer recomStatus;

    @Schema(description = "标签")
    private String tag;

}
